/**
 * WxPayStatus.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年3月24日
 */
package com.pshare.wx.enums;

/**
 * 微信支付状态
 */
public enum WxPayStatus {

	SUCCESS("SUCCESS", "支付成功"), REFUND("REFUND", "转入退款"), NOTPAY("NOTPAY", "未支付"),
	CLOSED("CLOSED", "已关闭"), REVOKED("REVOKED", "已撤销"), USERPAYING("USERPAYING", "用户支付中"),
	PAYERROR("PAYERROR", "支付失败"),;

	private String code;
	private String name;

	private WxPayStatus(String code, String name) {
		this.code = code;
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
